package com.csun.cmny.provider.model.dto.merchant;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
public class MerchantPersonageSelectDto {

    /*商家名字*/
    private String merchantName;

    /*服务类别id*/
    private Long secondLevelId;

    /*自身经度*/
    @NotEmpty(message = "{personage.longitude.null}")
    private String longitude;

    /*自身纬度*/
    @NotEmpty(message = "{personage.latitude.null}")
    private String latitude;

    /*限制距离 千米*/
    @NotNull(message = "{personage.distance.null}")
    private Integer distance;
}
